UrlParse=function(A){
	this.url=A;
	this.init();
}
UrlParse.prototype={
cache:{},
init:function()
{
	var arr=this.url.split("?");
	if(arr.length<=1)
		return ;
	var arrSub=arr[1].split("&");
	for(var i=0;i<arrSub.length;i++)
	{
		var arrSubSub=arrSub[i].split("=");
		if(arrSubSub.length<2)
		{
			this.cache[arrSubSub[0]]="";	
		}
		else
			this.cache[arrSubSub[0]]=arrSubSub[1];		
	}
},
getParams:function(A)
{
	return this.cache[A];
}
}